import Http from "../index"
export const patinetList = (data:any) => Http.post("/user/getFreeAssignedItemUser", data); // 获取所有已分配项目的患者
export const getpatinetList = (data:any) => Http.post("/user/getAllUsers", data); // 获取所有用户患者
export const getltemTopic = (data:any) => Http.get("/item/getItemTopicAllInfo", data); // 获取题目的选项

export const create = (data:any) => Http.post("/user/addUser", data); // 增加
export const updated = (data:any) => Http.post("/user/updateUser", data); // 修改
export const deleteFn = (data:any) => Http.post("/user/tombstoneUserByIds", data); // 删除
export const getList = (data:any) => Http.post("/user/getAllUsers", data); // 列表
export const assignItem = (data:any) => Http.post("/user/item/assignItem", data); // 分配
export const admin_patinetList = (data:any) => Http.post("/user/getMyAssignedItemUser", data); // 获取当前医生的房间患者

